<div class="modal-dialog modal-lg">
    <div class="modal-content animated fadeIn">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">
                <span aria-hidden="true">&times;</span>
                <span class="sr-only">Close</span>
            </button>
            <h4 class="modal-title">{$title|default="编辑"}</h4>
        </div>
        <div class="modal-body">
            <form method="post" action="{$action|default='edit'}" target="_subifr">
                {include file="public/_form_field" /}
                <input type="hidden" name="ifr" value="1">
            </form>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
            <button type="button" class="btn btn-primary btn-save">保存</button>
        </div>
    </div>
</div>
<script>
    console.log('modal edit form...');
</script>
